<!DOCTYPE html>
<html xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n">
    <head>
        <title>Reset Password</title>
    </head>
    <body>
        <py:for each="user in records">
        <div style="display: block; text-align: center">
            <div>
                <h1>Reset Password</h1>
                <p i18n:msg="email,url">
                Hello, we received a request to reset the password for the account associated with <strong>${user.email}</strong>. No changes have been made to your account yet.<br/>
                You can reset your password by clicking the link below:<br/>
                <a href="${user.get_email_reset_password_url()}"
                   style="display: block; text-decoration: none; width: max-content; margin: 0.5em auto; padding: 0.5em 1em; font-size:1em; border: 1px solid #2E6DA4; border-radius: 4px; color: #FFF; background-color: #337AB7;">
                    Reset Password
                </a>
                </p>
            </div>
            <hr style="margin-top: 20px; border-style: solid none none; border-color: #EEE"></hr>
            <div style="font-size: 80%; color: #777">
                <p i18n:msg="datetime,expire_delay">
                The link will expire in <time datetime="${record.reset_password_token_expire.isoformat()}">${format_timedelta(expire_delay)}</time>.
                </p>
                <p>Button not working? Paste this into your browser:</p>
                <p>${user.get_email_reset_password_url()}</p>
                <p>If you didn't make this request, you can ignore this email.</p>
            </div>
        </div>
        </py:for>
    </body>
</html>
